package com.itheima.dao.store;

import com.itheima.domain.store.Company;

import java.util.List;

/**
 * Company dao接口类
 * 2021/10/14 19:35
 * created by linjinyang
 */
public interface CompanyDao {
    /*
    保存
     */
    int save(Company company);

    /*
    删除
     */
    int delete(Company company);

    /*
    更新
     */
    int update(Company company);

    /*
    通过id进行查询
     */
    Company findById(String id);

    /*
    查询所有
     */
    List<Company> findAll();


}
